<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{assign var="user" value="user"|reg}
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>ADMINZ</title>
<base href="http://{$smarty.server.HTTP_HOST}{$this->baseUrl()}/" />
<meta http-equiv="Content-Type" content="text/html; charset={$this->getEncoding()}"/>
<link rel="stylesheet" type="text/css" href="css/admin.css" />
<link rel="stylesheet" type="text/css" href="css/humanity/jquery-ui.css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery-ui.js"></script>
<script type="text/javascript" src="js/jquery.ui.datepicker-hu.js"></script>
<script type="text/javascript" src="js/admin.js"></script>
</head>
<body>

<div class="dialog"></div>

<div class="container">
	<div class="head ui-widget-header ui-corner-bottom">
		<ul>
			<li>
				{$user.name|escape}<br />
				{"role.`$user.role`"|t}
			</li>
			<li>
				<a href="admin/index/logout">{'admin.logout'|t}</a><br />
				<a href="admin/index/profile">{'admin.profile'|t}</a>
			</li>
		</ul>
		<h1>{'admin.title'|t}</h1>
	</div>
	<div class="loader"></div>
	<div class="side">
		<ul>
			<li>
				<a href="admin">{'admin.index'|t}</a>
				{$this->navigation()->menu()->setMinDepth(1)->setMaxDepth(1)}
			</li>
		</ul>
	</div>
	<div class="breadcrumb">
		{$this->navigation()->breadcrumbs()->setMinDepth(0)}
	</div>
	<div class="content">
		{$this->layout()->content}
	</div>
	<div class="foot">{'admin.copyright'|t}</div>
</div>

</body>
</html>
